package com.woniu108.valueAdded.service;

import com.alipay.api.AlipayApiException;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu108.valueAdded.model.UserVip;

import java.util.Map;

/**
 * <p>
 * vip信息表 服务类
 * </p>
 *
 * @author yanxi
 * @since 2024-05-23
 */
public interface UserVipService extends IService<UserVip> {

    String payVip(String userId, Integer number) throws Exception;

    void payNotify(Map<String, String> params) throws AlipayApiException, Exception;

    void addUserVipDate(String userId, Integer vipDate,Boolean isGift);
}
